package com.ming.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *@Author:何元才
 *@Desc:
 *@data:2021-04-15 22:53
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "book_type")
public class BookType implements Serializable {
    /**
     * 类型id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 图书类型
     */
    @TableField(value = "type_name")
    private String typeName;

    /**
     * 逻辑删除 1 有效 0 无效
     */
    @TableField(value = "deleted")
    private Byte deleted;

    /**
     * 提交者
     */
    @TableField(value = "create_user")
    private String createUser;

    /**
     * 提交时间
     */
    @TableField(value = "update_time")
    private String updateTime;

}